package com.example.finaltask.modle;

import java.io.Serializable;
import java.util.Date;

public class Poster implements Serializable {
    private int id;
    private String title;
    private String previewImageUrl;
    private Date createTime;
    private String content;
    private Integer userId;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPreviewImageUrl() {
        return previewImageUrl;
    }

    public void setPreviewImageUrl(String previewImageUrl) {
        this.previewImageUrl = previewImageUrl;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String htmlUrl) {
        this.content = htmlUrl;
    }

    public void setCreateTime(String createtime) {
        this.createTime = createTime;
    }
}
